package view.macrogui
{
	import flash.display.Sprite;
	import flash.text.TextField;
	
	/**
	 */
	public class ResearchPane extends Sprite
	{
		public var opened:Boolean;
		
		public function ResearchPane()
		{
			var t:TextField = new TextField();
			t.text = "I AM RESEARCH!";
			addChild(t);
			
			graphics.beginFill(0x666666);
			graphics.drawRect(0, 0, 400, 300);
			graphics.endFill();
			
			y = 100;
			x = 100;
			
			close();
		}
		
		public function open():void
		{
			opened = true;
			visible = true;
		}
		
		public function close():void
		{
			opened = false;
			visible = false;
		}
	}

}